<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html>

<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<title>Login</title>
	<style type="text/css">
		<%@ include file="/css/LoginStyle.css"%>  
	</style>
	

</head>

<body>
	
		<form:form action="login.do" method="post" modelAttribute="user">
			<fieldset>
				<legend>Log in</legend>
				<label for="Nick"><spring:message code="user.form.email"/>  :</label>
			    <input type="text" id="email" name="email">
			    <form:errors path="email" cssStyle="color : red"/>
				<div class="clear"></div>
				
		       <label for="Password"><spring:message code="user.form.password" />  :</label>
	            <input type="password" name="password" id="password"/>
	            <form:errors path="password" cssStyle="color : red"/>
				<div class="clear"></div>
				
				<label for="remember_me" style="padding: 0;">Remember me?</label>
				<input type="checkbox" id="remember_me" style="position: relative; top: 3px; margin: 0; " name="remember_me"/>
				<div class="clear"></div>
				
				
				<br/>
				
				<input type="submit" style="margin: -20px 0 0 287px;" class="button" name="commit" value="Log in"/>
				
			</fieldset>
	    </form:form>
	    

</body>
</html>